﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

public class ListViewEditor {

    #if UNITY_EDITOR
    [UnityEditor.MenuItem("GameObject/UI/ListView")]
    static void CreateObject()
    {
        GameObject obj = ResourceManager.Instance.LoadPrefab("TextListPanel");
        obj.name = "ListPanel";
        UIHelper.Instance.AddChild(UnityEditor.Selection.activeGameObject, obj);

    }
    #endif
}
